package com.gxc.service.common.components.log.annotation;

import com.gxc.service.common.components.log.config.LogCollectConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启动日志收集器.
 *
 * @author GongXincheng
 * @since 2019-11-08 21:19
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Import(LogCollectConfiguration.class)
public @interface EnableLogCollect {
}
